package homework_02.home01;

/**
 * 判断每个月多少天
 */
public class Demo_05 {
    public static void main(String[] args) {
        int m=2;
        if(m==1||m==3||m==5||m==8||m==10|m==12){

            System.out.println(31);
        }else if(m==2){
            System.out.println(28);
        }else if(m==4||m==6||m==9||m==11){
            System.out.println(30);
        }else{
            System.out.println("请按套路来");
        }


    }
}
